package com.example.drink_order_system.entity;

public class Order {
	private String order_number;
	private String time;
	private String takeAway;
	private String cost;
	Order(String info)
	{
		String[] info_list = info.split(",");
		order_number = info_list[0];
		time = info_list[1];
		takeAway = info_list[2];
		cost = info_list[3];
	}
	public Order(){

	}

	public String getOrder_number() {
		return order_number;
	}

	public String getTime() {
		return time;
	}

	public String getTakeAway() {
		return takeAway;
	}

	public String getCost() {
		return cost;
	}

	public void setOrder_number(String order_number) {
		this.order_number = order_number;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public void setTakeAway(String takeAway) {
		this.takeAway = takeAway;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}
}
